﻿using Metro.Kashikoi.Service.Common.Entity;

namespace Metro.Kashikoi.Service.Item.Entity
{
    /// <summary>
    /// This class implements the interface <c>IUnitOfWorkFactory</c>.
    /// </summary>
    class ContextFactory : IUnitOfWorkFactory
    {
        /// <summary>
        /// Gets the context.
        /// </summary>
        /// <returns>
        /// The instance of the <c>IUnitOfWork</c>.
        /// </returns>
        public IUnitOfWork GetContext()
        {
            return new Context();
        }
    }
}
